package indi.gao.springAopTest.dao;

import indi.gao.springAopTest.dto.ScoreDto;
import indi.gao.springAopTest.model.Score;
import indi.gao.springAopTest.model.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>Description:</p>
 * <p>Copyright: Copyright (c)2020$</p>
 * <p>Company: Tope</p>
 * <P>Created Date :2020$-05$-18$</P>
 * <P>@version 1.0</P>
 */
@Mapper
public interface ScoreDao {
    List<ScoreDto> getScoreDtos(Long scoreId);

    List<Student> selectStudent(@Param("scoreId") Long scoreId);

    int insertStudent(Student student);

    int insertScore(Score score);
}
